package com.SRMS.domain;

import java.io.Serializable;

/**
 * @author Albert
 * @version 1.0
 * @date 2023/12/16-15:45
 * @describe Student表对应的类
 */
public class Student implements Serializable {
    private String studentId;
    private String studentName;
    private String password;
    private String major;
    private String gender;
    private String age;
    private String telephone;

    public Student() {
    }

    public Student(String studentId, String studentName, String password, String major, String gender, String age, String telephone) {
        this.studentId = studentId;
        this.studentName = studentName;
        this.password = password;
        this.major = major;
        this.gender = gender;
        this.age = age;
        this.telephone = telephone;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    @Override
    public String toString() {
        return studentId + "\t" + studentName + "\t" + password + "\t" + gender + "\t\t" + age + "\t\t" + telephone + "\t\t" + major;
    }
}
